package com.bw.zzy.partal2.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class SelectMedicalDeptByIdForm {


    @NotNull(message = "id不能为空")
    @Min(value = 1,message = "id最小为1")
    @Schema(description = "科室编号")
    private Integer id;
}
